package com.pi.pro.xcmg.am.was.edi.infor.dto.reply;





import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 *  任务上报结果
 */
@Getter
@Setter
public class TaskReportResultDto implements Serializable {

    @JsonIgnore
    private String taskkey;

    @JsonIgnore
    private String type;

    @JsonIgnore
    private String lot;

    @JsonIgnore
    private String loc;

    @JsonIgnore
    private String sku;

    private String resultcode;

    private String message;

    public String toString() {
        StringBuffer buf = new StringBuffer();
        buf.append("{");
        //
        buf.append("taskkey:");
        if (this.taskkey != null) {
            buf.append(this.taskkey);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("type:");
        if (this.type != null) {
            buf.append(this.type);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("lot:");
        if (this.lot != null) {
            buf.append(this.lot);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("loc:");
        if (this.loc != null) {
            buf.append(this.loc);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("sku:");
        if (this.sku != null) {
            buf.append(this.sku);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("resultcode:");
        if (this.resultcode != null) {
            buf.append(this.resultcode);
        } else {
            buf.append("");
        }
        buf.append(",");
        //
        buf.append("message:");
        if (this.message != null) {
            buf.append(this.message);
        } else {
            buf.append("");
        }
        buf.append("");
        buf.append("}");
        return buf.toString();
    }
}
